package com.xhwl.data.service;


import com.xhwl.common.pojo.cent.OpenConfig;
import com.xhwl.common.query.OpenConfigQuery;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;


/**
 * @Author Leon
 * @Description: TODO
 * @Date: 2021/10/6 11:56
 */
@FeignClient(name = "cent-sysconfig")
public interface IOpenConfigService {


    /**
     * 查找单个配置
     *
     * @param openConfigQuery
     * @return
     */
    @RequestLine(value = "POST /open-config/find-one")
    OpenConfig findOne(@Param("openConfigQuery") OpenConfigQuery openConfigQuery);

}
